package com.rjs.serialization;

import java.io.IOException;

public interface ISerializer {

	public <T> byte[] serialize(T obj) throws IOException;
	
	public <T> T deserialize(byte[] buf, Class<T> clzz) throws IOException, ClassNotFoundException;
}
